//
//  HD_LD_ClusterQuadtree.h
//  HDWuDaDaoServiceCenter
//
//  Created by mac on 2017/7/12.
//  Copyright © 2017年 HDNiuKuiming. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "HDAnnotation.h"
@interface HD_LD_ClusterQuadtree : NSObject{
    NSMutableArray *_childrens;
}


///四叉树区域
@property (nonatomic, assign) CGRect rect;
///所包含BMKQuadItem
@property(nonatomic, readonly) NSMutableArray *quadItems;

- (id)initWithRect:(CGRect) rect;
//数据插入
- (void)addItem:(HDAnnotation *)quadItem;
- (NSArray*)searchInRect:(CGRect) searchRect withZoomLevel:(CGFloat)zoomLevel;
@end
